package org.maylove.wuziqi.service;

import org.maylove.wuziqi.pojo.notice.Notice;
import org.maylove.wuziqi.pojo.notice.dto.GetNoticeDto;

import java.util.List;

public interface NoticeService {
    List<Notice> getMainNotice();

    List<Notice> getAllNotice(GetNoticeDto getNoticeDto);

    void addNotice(Notice notice);

    Long getUserId(Long noticeId);

    void deleteNotice(Long noticeId);
}
